<?php require('conexion.php'); ?>
<!--Declaracion del tipo de documento como HTML5-->
<!DOCTYPE html>
<html> 
<head> 
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>jQuery Mobile: Demos and Documentation</title>
	<link rel="stylesheet"  href="css/themes/default/jquery.mobile-1.2.1.css" />
	<link rel="stylesheet" href="docs/_assets/css/jqm-docs.css" />
	<script src="js/jquery.js"></script>
	<script src="docs/_assets/js/jqm-docs.js"></script>
	<script src="js/jquery.mobile-1.2.1.js"></script>
</head> 
<body> 
	<div data-role="page"> 
	<div data-role="header">
		<h1>Registro de estudiantes</h1>
		<a href="index.php" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
		<a href="../nav.html" data-icon="search" data-iconpos="notext" data-rel="dialog" data-transition="fade">Search</a>		
	</div>	
	<div data-role="content">
		 <form name="formreg" action="consultas.php" method="POST">
          <label for="basic"/>N. de Control:</label>
          <input type="text" name="ncontrol" id="basic" value="" required />
    	  <label for="basic"/>Nombre:</label>
          <input type="text" name="nombre" id="basic" value="" required />
    	  <label for="slider-fill"/>Edad:</label>
    	  <input type="range" name="edad" id="slider-fill" value="18" min="0" max="60" data-highlight="true" />
    	  <label for="sexo" class="select"/>Sexo:</label/>
          <select name="sexo" id="sexo"/>
             <option value="H"/>H</option/>
             <option value="M"/>M</option/>      
          </select/>
    	  <label for="basic"/>Direccion:</label>
          <input type="text" name="direccion" id="basic" value="" required />
    	   <label for="basic"/>Telefono:</label>
          <input type="tel" name="telefono" id="basic" value="" required />
    	   <label for="basic"/>E-mail:</label>
          <input type="email"  name="email" id="basic" value="" required />
		   <input type="hidden" name="fn" value="1" />
		  <input type="submit" name="envio" value="Guardar" />
		 </form> 
	</div> 
	<div data-role="footer">
	</div>
</div>
</body>
</html>